package cn.yup.service.impl;

import cn.yup.domain.DetailPosition;
import cn.yup.mapper.DetailPositionMapper;
import cn.yup.query.QueryObject;
import cn.yup.service.IDetailPositionService;
import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service   // 表示把该类创建对象交给Spring 管理  @controller
public class DetailPositionServiceImpl implements IDetailPositionService {

    @Autowired
    private DetailPositionMapper detailPositionMapper;


    @Override
    public void insertDetailPositions(List<DetailPosition> detailPositions) {
        detailPositionMapper.insertDetailPositions(detailPositions);
    }
}
